package com.zhsj.OkeHomeConsumption.ui.activity.wallet;

import android.os.Bundle;
import android.view.KeyEvent;

import com.zhsj.OkeHomeConsumption.R;

import me.yokeyword.fragmentation.SupportActivity;


/**
 * <p>文件描述：<p>
 * <p>作者：xingdx<p>
 * <p>创建时间：2019/1/15<p>
 * <p>更改时间：2019/1/15<p>
 */
public class jifenActivity extends SupportActivity {
    private String fanhuan_price = null;;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.index_medecorate_fragment);
        fanhuan_price = getIntent().getStringExtra("fanhuan_price");
            loadMultipleRootFragment(R.id.medecorate_layout, 0, RedeemFragment.newInstance(fanhuan_price));
    }

    @Override
    public boolean onKeyDown(int keyCode, KeyEvent event) {
//        if (keyCode == KeyEvent.KEYCODE_BACK) {
//            MainActivity.HideHomeBarHanlder.sendEmptyMessage(1);
//        }
        return super.onKeyDown(keyCode, event);
    }
}
